<%-- 
    Document   : adminReportDetaiiByMorth
    Created on : Oct 21, 2013, 3:07:58 PM
    Author     : h10t93
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>report detail by morth!</h1>
        <form name="frm" method="POST">

            <p>Morth:</p> <input type="text" name="txt_morth_detail"/>
            <p>Year:</p> <input type="text" name="txt_year_detail"/>
            <input type="submit" name="view" onclick="frm.action='ManageServlet?action=reportDetailByMorth'"/>
                <tr>
                    <th style="width: 150px">Complaint ID</th>
                    <th style="width: 100px">User ID</th>
                    <th style="width: 200px">User Name</th>
                    <th style="width: 200px">Category</th>
                    <th style="width: 200px">Departments User</th>
                    <th style="width: 200px">Name Technician</th>
                    <th style="width: 100px">Date Lodging<th>
                    <th style="width: 100px">Date Closing</th>

                </tr>            
                <c:forEach var="p" items="${sessionScope['sdetailByMorth']}">
                    <tr>
                        <td style="width: 150px">${p.idComplaint}</td>
                        <td style="width: 100px">${p.idUser}</td>
                        <td style="width: 200px">${p.nameUser}</td>
                        <td style="width: 200px">${p.compCategory}</td>
                        <td style="width: 200px">${p.departmentUser}</td>
                        <td style="width: 200px">${p.nameTechnician}</td>
                        <td style="width: 100px"> ${p.dateLodging}</td>
                        <td style="width: 100px">${p.dateClose}</td>

                    </tr>
                </c:forEach>
            </table>
        </form>
    </body>
</html>
